package cn.itcast.travel.service;

import cn.itcast.travel.domain.blogger;
import cn.itcast.travel.domain.blog;

import java.util.List;

public interface BloggerService {

    //用户登录
    blogger login(blogger b);
    //用户注册
    boolean register(blogger b);
    //获取发表过的博客
    List<blog> Personalblog(String id);
    //获取收藏的博客
    List<blog> allcollection(String id);
    //删除发表过的文章或者收藏的文章
    void deleteblog(String which,String bgid,String bloggerid);
}
